package com.ctshk.rpc.custom.req.trip;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 完团审批Req
 */
@Data
@ApiModel(value = "TripScheduleApprovalReq",description = "完团审批Req")
public class TripScheduleApprovalReq implements Serializable {

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long id;

    @NotNull(message = "操作类型不能为空")
    @ApiModelProperty(value = "操作类型（3 审批通过 4 审批拒绝）",required = true)
    private Integer type;

    @ApiModelProperty(value = "拒绝原因")
    private String remark;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

}
